package com.ruoyi.zhjd.laboratory.modules.laboratorymechanics.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.zhjd.laboratory.modules.laboratorymechanics.entity.LaboratoryMechanicsPressMachineDetailEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * 力学实验室压力机试验数据DTO
 * @author cwl
 *
 */
@Data
public class LaboratoryMechanicsPressMachineDto {
	@NotBlank(groups = EditGroup.class, message = "标识不可为空")
    private String id;// 主键
	private String sampleKey;
	private String lingQi;
	private String deviceId;
	private String testId;
	private String tester;
	private String qddj;
	private String size;
	private String xs;
	private String yxlz;
	private String yxqd;
	private String pdjg;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createDate;
	private String creator;
	private String shape;
	private String length;
	private String width;
	private String height;
	private String diameter;
	private String span;
	private String sample;
	private String pinZhong;
	private String k;
	private List<LaboratoryMechanicsPressMachineDetailEntity> detailList;
}
